import AirGIS from "@/lib"
import * as Cesium from "cesium"
export function runCodeWithBlob(code: string) {

  const fn = new Function('AirGIS', "Cesium", code);

  try {
    // 调用时手动传入
    const _result = fn(AirGIS, Cesium);
  } catch (error) {
    console.error("代码运行失败:", error);

  }
}

